import React from 'react';
import { Layout } from 'antd';
import {Component} from 'react';
import InfoList  from './page/list';
import Routes from './router/routes'
import {BrowserRouter as Router,Route,Link} from "react-router-dom";
const { Header, Footer, Sider, Content } = Layout;

function App() {
  return (
    <div>
    <Routes />
    {/* <Layout>
      <Header>Header</Header>
      <Content></Content>
    </Layout> */}
    </div>
  );
}

// class App extends Component{
//   render(){
//     return(
//       <div>
//         <Routes />
//       </div>
//     )
//   }
// }
export default App;
